package com.dev.security;

import com.dev.security.interceptor.LogInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**配置
 *
 * #Author:槐序二四
 * #Time：2020/4/15 16:29
 * #Motto:人间荒唐市侩 不如山中作怪🌙.
 */
@Configuration
public class SecurityConfiguration {

    @Bean
    SecurityWebConfigurer securityWebConfigurer(){
        return new SecurityWebConfigurer();
    }

    @Bean
    LogInterceptor logInterceptor(){
        return new LogInterceptor();
    }

}
